export default[
    {
        path:"/main",
        name:"main",
        component:()=>import("./index.vue"),
        children:[
            {
                path:'movie',
                name:'movie',
                component:()=>import("./movie.vue")
            },
            {
                path:'cinema',
                name:'cinema',
                component:()=>import("./cinema.vue")
            },
            {
                path:'list',
                name:'list',
                component:()=>import("./list.vue")
            },
            {
                path:'new',
                name:'new',
                component:()=>import("./new.vue")
            },
            {
                path:'mine',
                name:'mine',
                component:()=>import("./mine.vue")
            },
            {
                path:'*',
                redirect: {name:"cinema"}
            }
        ]
    }
]